Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CellMatrix<T> Class / Item Property
The row must be greater than or equal to 0 and less than RowCount.
The column must be greater than or equal to 0 and less than ColumnCount.


In This Topic
    Item Property (CellMatrix<T>)
    In This Topic
    Gets or sets a data item for the specified cell in the SparseMatrix.
    Syntax
    'Declaration
     
    
    Public Default Property Item( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As T
    'Usage
     
    
    Dim instance As CellMatrix(Of T)
    Dim row As Integer
    Dim column As Integer
    Dim value As T
     
    instance.Item(row, column) = value
     
    value = instance.Item(row, column)
    public T this[ 
       int row,
       int column
    ]; {get; set;}

    Parameters

    row
    The row must be greater than or equal to 0 and less than RowCount.
    column
    The column must be greater than or equal to 0 and less than ColumnCount.

    Property Value

    The value at the specified row and column.
    See Also